/*
 *  Copyright 2019-2020 Zheng Jie
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package com.fzhucc.modules.appletShow.domain.dto;

import com.fzhucc.modules.system.service.dto.UserDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Set;

/**
 * @author yyg
 * @website https://eladmin.vip
 * @description /
 * @date 2022-11-16
 **/
@Data
public class CmsServiceDto implements Serializable {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "标签 - 小型企业、中型企业")
    private Set<String> tags;

    @ApiModelProperty(value = "服务方式")
    private Set<String> types;

    @ApiModelProperty(value = "有效开始时间")
    private Timestamp startTime;

    @ApiModelProperty(value = "有效截止时间")
    private Timestamp endTime;

    /**
     * 收费标准
     */
    private String price;

    @ApiModelProperty("创建者")
    private UserDto createUser;

    @NotBlank
    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "banner图片")
    private String img;

    @ApiModelProperty(value = "简介")
    private String intro;

    @NotNull
    @ApiModelProperty(value = "是否展示小程序")
    private Integer isShow;

    @ApiModelProperty(value = "显示顺序")
    private Integer sort;

    @ApiModelProperty(value = "创建者user_id")
    private Long createUserId;

    @ApiModelProperty(value = "项目等级")
    private Integer level;

    @ApiModelProperty(value = "是否推送  服务项目才有推送 默认不推送")
    private Integer isPush;

    @ApiModelProperty(value = "服务分类")
    private String classify;

}
